package com.st.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.st.entity.ScenicDetail;
import com.st.entity.Ticket;
import org.apache.ibatis.annotations.Update;

public interface ITicketMapper extends BaseMapper<Ticket> {

    @Update("update ticket set name = #{name} where attractions_id = #{attractionsId} ")
    public int updateTicket(Ticket ticket);
}
